while True 
    for i in ["/","-","|","\\","|"]:
        print "%s\r" % i,